//
//  MJExtensionConfig.m
//  Live
//
//  Created by 徐芙蓉 on 2017/8/9.
//  Copyright © 2017年 Afra. All rights reserved.
//

#import "MJExtensionConfig.h"
#import "FRCreator.h"
#import "FRLive.h"

@implementation MJExtensionConfig

+(void)load
{
    [NSObject mj_setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                    @"ID" : @"id"
                 };
    }];
    [FRCreator mj_setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 @"desc" : @"description"
                 };
    }];
    
    //驼峰转下划线
    [FRCreator mj_setupReplacedKeyFromPropertyName121:^id(NSString *propertyName) {
        return [propertyName mj_underlineFromCamel];
    }];
    
    [FRLive mj_setupReplacedKeyFromPropertyName121:^id(NSString *propertyName) {
        return [propertyName mj_underlineFromCamel];
    }];
    
    
}



@end
